package br.com.tiespec.ejb.EjbInterface;

import java.io.Serializable;
import java.util.List;

import br.com.tiespec.model.Enum.TipoSortOrder;
import br.com.tiespec.model.Modelo.Ator;
import br.com.tiespec.model.Modelo.Cenario;
import br.com.tiespec.model.Modelo.Dado;
import br.com.tiespec.model.Modelo.DescricaoEstendida;
import br.com.tiespec.model.Util.RNException;

public interface DescricaoEstendidaInterface extends Serializable {

	public abstract void salvarDescricaoEstendida(DescricaoEstendida deInstance) throws RNException;

	public abstract void atualizarDescricaoEstendida(DescricaoEstendida deInstance) throws RNException;

	public abstract DescricaoEstendida selecionarDescricao(Long id);
	
	public abstract DescricaoEstendida selecionarDescricaoCompleta(Long id);

	public abstract List<DescricaoEstendida> listarDescricaoEstendidas(
			int first, int pageSize, String sortField,
			TipoSortOrder sortOrder, Long idClientePortal, String varCodigo, String varNome,
			String varProjeto);

	public abstract int countDescricaoEstendidas(Long idClientePortal, String varCodigo,
			String varNome, String varProjeto);

	public abstract List<Dado> listarDados(int first, int pageSize,
			String sortField, TipoSortOrder convertePrimeFaces,
			Long idDescricao);

	public abstract int countDados(Long idDescricao);
	
	public abstract Dado selecionarDado(Long id);

	public abstract void salvarDado(Dado dadoInstance) throws RNException;

	public abstract void atualizarDado(Dado dadoInstance) throws RNException;

	public abstract void excluirDado(Dado dadoInstance) throws RNException;

	public abstract List<Ator> listarAtores(Long idClientePortal, String query);

	public abstract List<Ator> listarAtores(Long idClientePortal, String[] strArray);

	public abstract List<Ator> listarAtores(Long idClientePortal);

	public abstract List<DescricaoEstendida> listarDescricaoEstendidas(Long id);

	public abstract List<Cenario> listarCenarios(Long id);

}
